<?php
class App_Tpl_Form_Field_Date extends App_Tpl_Form_Field_Text
{
	protected function PrepareOut($fieldData, $params)
	{
		return Mozg::Lib('date')->Format($fieldData, isset($params['format']) ? $params['format'] : false);
	}
	
    protected function RenderField()
    {
    	return $this->render('form/field/_date.phtml');
    }
}